package com.web.service.chapter;

import com.web.bean.chapter.Chapter;

import java.util.List;

/**
 * @autor Chen
 * @create 2021--25-14:12
 * @desc
 */
public interface ChapterService {

    void addChapter(Chapter chapter) throws Exception;

    void updateChapter(Chapter chapter) throws Exception;

    void deleteChapter(String id) throws Exception;

    List<String> selectChapterById(String id) throws Exception;

    List<Chapter> selectChapters(String nid) throws Exception;


}
